﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NF_Mode
{
    /// <summary>
    /// 框架应答消息
    /// </summary>
    public class BaseAnswer
    {
        /// <summary>
        /// 应答代码
        /// </summary>
        public int AnswerCode { get; set; }

        /// <summary>
        /// 应答标识
        /// </summary>
        public Answers AnswerType { get; set; }


        /// <summary>
        /// 应答消息
        /// </summary>
        public string AnswerMeg { get; set; }


        /// <summary>
        /// 应答标识枚举
        /// </summary>
        public enum Answers
        {
            /// <summary>
            /// 成功 = 1
            /// </summary>
            Succee = 1,
            /// <summary>
            /// 失败 =2
            /// </summary>
            Failure = 2,
            /// <summary>
            /// 异常 = 3
            /// </summary>
            Error = 3
        }
    }
}
